rebase#1
Merged
rustopian merged 124 commits intov3.0-create-account-prefundedfrom Jul 2, 2025
Merged
Conversation
* geyser: update to ReplicaTransactionInfoV3 * add signature back
* build(deps): bump proptest from 1.6.0 to 1.7.0 Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/proptest-rs/proptest/releases) - [Changelog](https://github.com/proptest-rs/proptest/blob/main/CHANGELOG.md) - [Commits](https://github.com/proptest-rs/proptest/commits) --- updated-dependencies: - dependency-name: proptest dependency-version: 1.7.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde_with from 3.12.0 to 3.13.0 Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.12.0 to 3.13.0. - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](jonasbb/serde_with@v3.12.0...v3.13.0) --- updated-dependencies: - dependency-name: serde_with dependency-version: 3.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
add docs to recv_mmsg
add todo comments
…ommitted tx status (anza-xyz#6585) * sts: Use message hash to look up tx commitment status * feedback
* remove condition as it is not supported * remove useless whitespace to fix sort
* Add `StoredTransaction` * Nits from review
* build(deps): bump libc from 0.2.172 to 0.2.173 Bumps [libc](https://github.com/rust-lang/libc) from 0.2.172 to 0.2.173. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.173/CHANGELOG.md) - [Commits](rust-lang/libc@0.2.172...0.2.173) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.173 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump derive-where from 1.4.0 to 1.5.0 Bumps [derive-where](https://github.com/ModProg/derive-where) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/ModProg/derive-where/releases) - [Changelog](https://github.com/ModProg/derive-where/blob/main/CHANGELOG.md) - [Commits](ModProg/derive-where@v1.4.0...v1.5.0) --- updated-dependencies: - dependency-name: derive-where dependency-version: 1.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…artup (anza-xyz#6587) * TestValidator checks usability of programs added to genesis during startup * update lock tree * track programs that have been successfully deployed
…on (anza-xyz#6608) * fix: update SOL/lamports doc link to point directly to lamports section * Update validator-start.md
…n `modified_entries` (anza-xyz#6562) * only find in entries if not found in modified_entries * cargo fmt
multihoming: check all udp sockets are reachable across ips
* Reclaim support for obsolete accounts * Updated mark accounts obsolete to take an array and reduce lock/unlock
This fixes the validator not starting on macos, oops
…6561) refactor: rm status lookup in bank process tx
* build(deps): bump libc from 0.2.173 to 0.2.174 Bumps [libc](https://github.com/rust-lang/libc) from 0.2.173 to 0.2.174. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.174/CHANGELOG.md) - [Commits](rust-lang/libc@0.2.173...0.2.174) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.174 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump rustls from 0.23.27 to 0.23.28 Bumps [rustls](https://github.com/rustls/rustls) from 0.23.27 to 0.23.28. - [Release notes](https://github.com/rustls/rustls/releases) - [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md) - [Commits](rustls/rustls@v/0.23.27...v/0.23.28) --- updated-dependencies: - dependency-name: rustls dependency-version: 0.23.28 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…hreds (anza-xyz#6729) * move broadcast_shreds_bench to merkle variant * replace entries_to_shreds by merkle variant
* Remove unused patch release instructions from changelog * Add changelog instructions for pruning the changelog when a new release branch is created
…xyz#6754) * Use more canonical imports with io::Result instead of IoResult * Remove other IoResult uses
* add admin rpc for gossip ip/port change. add channel for relaying adminrpc command to gossipservice * wip. add streamer atomicudpsocket for receiver_atomic * finish up streamer responder * address alex's comments * need to know when socket is initially set * remove rebind socket channel. bind in adminrpc * change GossipSocket to SocketKind * remove GossipRebinder now that channel is gone * rm double arc and switch Socket::gossip from UdpSocket to AtomicUdpSocket
* build(deps): bump indexmap from 2.9.0 to 2.10.0 Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.9.0 to 2.10.0. - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](indexmap-rs/indexmap@2.9.0...2.10.0) --- updated-dependencies: - dependency-name: indexmap dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* get steps more explicit * Update ci/stable/run-local-cluster-partially.sh Co-authored-by: Will Hickey <csu_hickey@yahoo.com> * Update ci/stable/run-partition.sh Co-authored-by: Will Hickey <csu_hickey@yahoo.com> --------- Co-authored-by: Will Hickey <csu_hickey@yahoo.com>
…transfer (anza-xyz#6709) * Demonstrate the issue by giving a no-op callee a readonly instruction account instead of a writable one. * Fixes the issue by updating the MemoryRegion of the caller if it changed the owner at the CPI call edge. * Feature gates the change.
use local solana-zk-sdk
* move get_retransmit_peers_deterministic to merkle variant * drop unused imports * move imports to correct place * use hash default instead of unique / not needed * remove num_simulated_shreds entirely * one iter less * the possible arithmetics side effects is a lie / clippy override
#### Problem The RentCollector type is included in accounts-db types, but it's not actually used for anything. The only place it *is* used is to figure out the number of slots in an epoch, but it looks like that call site only ever passes in `0` anyway, from `RentCollector::default()`. #### Summary of changes Remove RentCollector from types and interfaces in accounts-db.
* build(deps): bump reqwest from 0.12.20 to 0.12.21 Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.20 to 0.12.21. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/commits) --- updated-dependencies: - dependency-name: reqwest dependency-version: 0.12.21 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump indicatif from 0.17.11 to 0.17.12 Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.17.11 to 0.17.12. - [Release notes](https://github.com/console-rs/indicatif/releases) - [Commits](console-rs/indicatif@0.17.11...0.17.12) --- updated-dependencies: - dependency-name: indicatif dependency-version: 0.17.12 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde_with from 3.13.0 to 3.14.0 Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.13.0 to 3.14.0. - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](jonasbb/serde_with@v3.13.0...v3.14.0) --- updated-dependencies: - dependency-name: serde_with dependency-version: 3.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update SIMDs * Fix other SIMDs * Didn't you forget your own SIMD-0179?
…yz#5804) * assert store alive size * align * Update accounts-db/src/accounts_db.rs Co-authored-by: Brooks <brooks@prumo.org> --------- Co-authored-by: Brooks <brooks@prumo.org>
```
error: use `std::ptr::eq` when comparing raw pointers
--> core/src/cluster_slots_service/slot_supporters.rs:118:26
|
118 | let same_epoch = Arc::as_ptr(index_map) == Arc::as_ptr(&self.pubkey_to_index_map);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(Arc::as_ptr(index_map), Arc::as_ptr(&self.pubkey_to_index_map))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
= note: `-D clippy::ptr-eq` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_eq)]`
```
Some tests were using `#[test_case]` and listing all the combinations explicitly. To simplify them, use `#[test_matrix]` instead.
rustopian
pushed a commit
that referenced
this pull request
Oct 22, 2025
* Apply the retry code to the async pubsub client
Create a test server
```ts
import http from "http";
import { WebSocketServer } from "ws";
let attemptCount = 0;
const server = http.createServer();
const wss = new WebSocketServer({ noServer: true });
wss.on("connection", (ws) => {
ws.send("Connection accepted.");
ws.on("message", (msg) => console.log(`Received: ${msg}`));
});
server.on("upgrade", (req, socket, head) => {
attemptCount += 1;
if (attemptCount <= 4) {
socket.write("HTTP/1.1 429 Too Many Requests\r\n\r\n");
socket.destroy();
console.log(`Rejected connection #${attemptCount} (429)`);
return;
}
wss.handleUpgrade(req, socket, head, (ws) => {
wss.emit("connection", ws, req);
console.log("Connection accepted on attempt", attemptCount);
});
});
server.listen(8080, () => {
console.log("Server listening on port 8080");
});
```
Run `test_slot_subscription_async`:
```
Rejected connection #1 (429)
Rejected connection #2 (429)
Rejected connection #3 (429)
Rejected connection #4 (429)
Connection accepted on attempt 5
Received: {"id":1,"jsonrpc":"2.0","method":"slotSubscribe","params":[]}
```
* `s/async_with_retry/with_retry/`
rustopian
pushed a commit
that referenced
this pull request
Nov 20, 2025
* Apply the retry code to the async pubsub client
Create a test server
```ts
import http from "http";
import { WebSocketServer } from "ws";
let attemptCount = 0;
const server = http.createServer();
const wss = new WebSocketServer({ noServer: true });
wss.on("connection", (ws) => {
ws.send("Connection accepted.");
ws.on("message", (msg) => console.log(`Received: ${msg}`));
});
server.on("upgrade", (req, socket, head) => {
attemptCount += 1;
if (attemptCount <= 4) {
socket.write("HTTP/1.1 429 Too Many Requests\r\n\r\n");
socket.destroy();
console.log(`Rejected connection #${attemptCount} (429)`);
return;
}
wss.handleUpgrade(req, socket, head, (ws) => {
wss.emit("connection", ws, req);
console.log("Connection accepted on attempt", attemptCount);
});
});
server.listen(8080, () => {
console.log("Server listening on port 8080");
});
```
Run `test_slot_subscription_async`:
```
Rejected connection #1 (429)
Rejected connection #2 (429)
Rejected connection #3 (429)
Rejected connection #4 (429)
Connection accepted on attempt 5
Received: {"id":1,"jsonrpc":"2.0","method":"slotSubscribe","params":[]}
```
* `s/async_with_retry/with_retry/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.